package org.jypj.dev.model;

import com.google.gson.Gson;

/**
 * @author generaterCode
 */
public class WorkNfc implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    private String id; //
    private String trainWorkId; //
    private String workId; // 工序ID
    private String userNum; // 用户编号
    private String trainCode; // 车次
    private String trainNum; // 车组号
    private String nfcPlace; // NFC地点
    private String nfcTime;//nfc时间
    private String planDate;//计划日期
    private String loginId;// 登陆ID

    private String workName;//工序名称
    private String workParentId;
    private String finishTime;
    private String nfcPlaceValue;

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTrainWorkId() {
        return this.trainWorkId;
    }

    public void setTrainWorkId(String trainWorkId) {
        this.trainWorkId = trainWorkId;
    }

    public String getWorkId() {
        return this.workId;
    }

    public void setWorkId(String workId) {
        this.workId = workId;
    }

    public String getUserNum() {
        return this.userNum;
    }

    public void setUserNum(String userNum) {
        this.userNum = userNum;
    }

    public String getTrainCode() {
        return this.trainCode;
    }

    public void setTrainCode(String trainCode) {
        this.trainCode = trainCode;
    }

    public String getTrainNum() {
        return this.trainNum;
    }

    public void setTrainNum(String trainNum) {
        this.trainNum = trainNum;
    }

    public String getNfcPlace() {
        return this.nfcPlace;
    }

    public void setNfcPlace(String nfcPlace) {
        this.nfcPlace = nfcPlace;
    }

    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    public String getNfcTime() {
        return nfcTime;
    }

    public void setNfcTime(String nfcTime) {
        this.nfcTime = nfcTime;
    }


    public String getWorkParentId() {
        return workParentId;
    }

    public void setWorkParentId(String workParentId) {
        this.workParentId = workParentId;
    }

    public String getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(String finishTime) {
        this.finishTime = finishTime;
    }

    public String getNfcPlaceValue() {
        return nfcPlaceValue;
    }

    public void setNfcPlaceValue(String nfcPlaceValue) {
        this.nfcPlaceValue = nfcPlaceValue;
    }

    public String getPlanDate() {
        return planDate;
    }

    public void setPlanDate(String planDate) {
        this.planDate = planDate;
    }

    public String getWorkName() {
        return workName;
    }

    public void setWorkName(String workName) {
        this.workName = workName;
    }

    @Override
    public String toString() {
        Gson gson = new Gson();
        return gson.toJson(this);
    }

}